home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / include / Xm / DragIconP.h.z / DragIconP.h
Encoding:
C/C++ Source or Header  |  2003-11-18  |  3.3 KB  |  126 lines

  1. /*
  2.  * DragIconP.h
  3.  *
  4.  * Copyright 2000, Silicon Graphics, Inc.
  5.  * ALL RIGHTS RESERVED
  6.  * 
  7.  * UNPUBLISHED -- Rights reserved under the copyright laws of the United
  8.  * States.   Use of a copyright notice is precautionary only and does not
  9.  * imply publication or disclosure.
  10.  *
  11.  * U.S. GOVERNMENT RESTRICTED RIGHTS LEGEND:
  12.  * Use, duplication or disclosure by the Government is subject to restrictions
  13.  * as set forth in FAR 52.227.19(c)(2) or subparagraph (c)(1)(ii) of the Rights
  14.  * in Technical Data and Computer Software clause at DFARS 252.227-7013 and/or
  15.  * in similar or successor clauses in the FAR, or the DOD or NASA FAR
  16.  * Supplement.  Contractor/manufacturer is Silicon Graphics, Inc.,
  17.  * 2011 N. Shoreline Blvd. Mountain View, CA 94039-7311.
  18.  *
  19.  * THE CONTENT OF THIS WORK CONTAINS CONFIDENTIAL AND PROPRIETARY
  20.  * INFORMATION OF SILICON GRAPHICS, INC. ANY DUPLICATION, MODIFICATION,
  21.  * DISTRIBUTION, OR DISCLOSURE IN ANY FORM, IN WHOLE, OR IN PART, IS STRICTLY
  22.  * PROHIBITED WITHOUT THE PRIOR EXPRESS WRITTEN PERMISSION OF SILICON
  23.  * GRAPHICS, INC.
  24.  */
  25. /* 
  26.  * @OSF_COPYRIGHT@
  27.  * (c) Copyright 1990, 1991, 1992, 1993, 1994 OPEN SOFTWARE FOUNDATION, INC.
  28.  * ALL RIGHTS RESERVED
  29.  *  
  30. */ 
  31. /*
  32.  * HISTORY
  33.  * Motif Release 1.2.5
  34. */
  35. /*   $XConsortium: DragIconP.h /main/cde1_maint/2 1995/08/18 18:59:17 drk $ */
  36. /*
  37. *  (c) Copyright 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  38.  
  39. #ifndef _XmDragIconP_h
  40. #define _XmDragIconP_h
  41.  
  42. #include <Xm/VendorSEP.h>
  43. #include <Xm/DragIcon.h>
  44.  
  45. #ifdef __cplusplus
  46. extern "C" {
  47. #endif
  48.  
  49.  
  50. #ifdef _NO_PROTO
  51. typedef void     (*XmCloneVisualProc)();
  52. typedef void     (*XmMovePixmapProc)();
  53. #else
  54. typedef void (*XmCloneVisualProc)
  55.     (XmDragIconObject, Widget, Widget);
  56. typedef void (*XmMovePixmapProc)
  57.      (XmDragIconObject, XmDragIconObject, XmDragIconObject,
  58. #if NeedWidePrototypes
  59.       int, int);
  60. #else
  61.       Position, Position);
  62. #endif /* NeedWidePrototypes */
  63. #endif /* _NO_PROTO */
  64.  
  65. typedef struct {
  66.     XtPointer        extension;
  67. } XmDragIconClassPart;
  68.  
  69. typedef struct _XmDragIconClassRec{
  70.     RectObjClassPart        rectangle_class;
  71.     XmDragIconClassPart        dragIcon_class;
  72. }XmDragIconClassRec;
  73.  
  74. typedef struct {
  75.     Cardinal    depth;
  76.     Pixmap    pixmap;
  77.     Dimension    width, height;
  78.     Pixmap    mask;
  79.     Position    hot_x, hot_y;
  80.     Position    offset_x, offset_y;
  81.     unsigned char    attachment;
  82.     Boolean    isDirty;
  83.     Region      region;
  84.     Region      restore_region;
  85.     Position    x_offset, y_offset;
  86. } XmDragIconPart, *XmDragIconPartPtr;
  87.  
  88. externalref XmDragIconClassRec     xmDragIconClassRec;
  89.  
  90. typedef struct _XmDragIconRec{
  91.     ObjectPart            object;
  92.     RectObjPart            rectangle;
  93.     XmDragIconPart        drag;
  94. }XmDragIconRec;
  95.  
  96. /********    Private Function Declarations    ********/
  97. #ifdef _NO_PROTO
  98.  
  99. extern void _XmDestroyDefaultDragIcon() ;
  100. extern Boolean _XmDragIconIsDirty() ;
  101. extern void _XmDragIconClean() ;
  102. extern Widget _XmGetTextualDragIcon() ;
  103.  
  104. #else
  105.  
  106. extern void _XmDestroyDefaultDragIcon(
  107.             XmDragIconObject icon) ;
  108. extern Boolean _XmDragIconIsDirty(
  109.             XmDragIconObject icon) ;
  110. extern void _XmDragIconClean(
  111.             XmDragIconObject icon1,
  112.             XmDragIconObject icon2,
  113.             XmDragIconObject icon3) ;
  114. extern Widget _XmGetTextualDragIcon(
  115.             Widget w) ;
  116.  
  117. #endif /* _NO_PROTO */
  118. /********    End Private Function Declarations    ********/
  119.  
  120.  
  121. #ifdef __cplusplus
  122. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  123. #endif
  124.  
  125. #endif /* _XmDragIconP_h */
  126.